package com.hotel.app.controller;

import cn.hutool.core.convert.NumberWithFormat;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.hotel.app.service.UserLogFeign;
import com.hotel.common.config.SystemConfig;
import com.hotel.common.util.JwtUtil;
import com.hotel.common.vo.R;
import com.hotel.user.entity.UserLog;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 * @desc:
 * @author: ZHY
 * @date: 2024/6/19,18:14
 */
@RestController
@RequestMapping("/api/user")
public class UserLogController {

    @Autowired
    private UserLogFeign userLogFeign;

    @RequestMapping("/my")
    public R getAccount() {

        return userLogFeign.getAccount();

    }
}
